how simplify an expression